//
//  loginView.m
//  LT
//
//  Created by dllo on 16/5/25.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "loginView.h"

@implementation loginView

//-(instancetype)initWithFrame:(CGRect)frame{
//    self = [super initWithFrame:frame];
//    if (self) {
//        [self doSomething];
//    }
//    return self;
//    
//}


//-(void)doSomething{
//    
//    self.myLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 50, self.frame.size.width / 3 , self.frame.size.height)];
//    self.myLabel.backgroundColor = [UIColor whiteColor];
//    self.myLabel.layer.borderWidth = 1;
//    self.myLabel.layer.borderColor = [[UIColor grayColor]CGColor];
//    self.myLabel.layer.masksToBounds = YES;
//    self.myLabel.layer.cornerRadius = 10;
//    [self addSubview:self.myLabel];
//    
//    self.myText = [[UITextField alloc]initWithFrame:CGRectMake(self.frame.size.width/3 + 10, 50, self.frame.size.width / 3 * 2, self.frame.size.height)];
//    self.myText.layer.borderWidth = 1;
//    self.myText.layer.borderColor = [[UIColor grayColor]CGColor];
//    self.myText.layer.masksToBounds = YES;
//    self.myText.layer.cornerRadius = 10;
//    self.myText.backgroundColor = [UIColor whiteColor];
//    [self addSubview:self.myText];
//    
//    
//    //成为代理
//    self.myText.delegate = self;
//    
//}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
